package com.zmy.xcx.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Data
@Builder
public class HypertensionSelfCheckVO {

    private Long id;
    private  String openid;
    // 基础信息
    private Integer age;
    private Integer ageGroup;

    // 自检数据
    private Map<String, String> checkDetails;
    private List<String> selectedSymptoms;

    // 诊断结果
    private Integer isSuspected;
    private String suspectedDesc;  // 是否疑似描述
    private Integer hypertensionLevel;
    private Integer cardiovascularRisk;
    private Integer hasTcmDiagnosis;

    // 时间信息
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
